<!DOCTYPE html>
<html xmlns:ui='http://java.sun.com/jsf/facelets'
	xmlns:h='http://java.sun.com/jsf/html'
	xmlns:f='http://java.sun.com/jsf/core' lang='en'>
<body>
<ui:composition template='snippets/template.xhtml'>
	<ui:define name='title'>Registrieren</ui:define>
	<ui:define name='content'>
		<f:view>
			<h:messages />
			<h:form id='registerForm'>
				<table>
					<tr>
						<td>Name:</td>
						<td>
							<h:inputText id='name' value='#{RegisterBean.name}' required='true' size='15'>
								<f:validateLength minimum='1' maximum='30' />
							</h:inputText>
						</td>
					</tr>
					<tr>
						<td>EMail:</td>
						<td>
							<h:inputText id='email' value='#{RegisterBean.email}' required='true' size='15'>
								<f:validateLength minimum='1' maximum='30' />
							</h:inputText>
						</td>
					</tr>
					<tr>
						<td>Passwort:</td>
						<td><h:inputSecret id='password'
							value='#{RegisterBean.password}' required='true' size='15'>
							<f:validateLength minimum='1' maximum='30' />
						</h:inputSecret></td>
					</tr>
					<tr>
						<td>Passwort bestätigen:</td>
						<td><h:inputSecret id='confirmedPassword'
							value='#{RegisterBean.confirmedPassword}' required='true'
							size='15'>
							<f:validateLength minimum='1' maximum='30' />
						</h:inputSecret></td>
					</tr>
					<tr>
						<td colspan='2' align='right'><h:commandButton
							action='#{RegisterBean.register}' value='Registrieren' /> <h:commandButton
							action='#{RegisterBean.cancel}' value='Abbrechen' /></td>
					</tr>
				</table>
			</h:form>
			<br />
			<br />
		</f:view>
	</ui:define>
</ui:composition>
</body>
</html>
